<?php
class OpenidAccount extends AppModel {

  var $name = 'OpenidAccount';
  var $validate = array(
    'user_id' => array('notempty'),
    'identity_url' => array('notempty')
  );

  //The Associations below have been created with all possible keys, those that are not needed can be removed
  var $belongsTo = array(
    'User' => array(
      'className' => 'User',
      'foreignKey' => 'user_id',
      'conditions' => '',
      'fields' => array('id', 'user_id', 'identity_url'),
      'order' => ''
    )
  );

}
?>